package dao

import "gitee.com/realjf/wob/dao/dbs"

var (
	UserModel UserDAO
)

func init() {
	UserModel = NewUserModel(dbs.Mongo)
}

type UserDAO interface {
}

type userModel struct {
	db *dbs.MongoModel
}

func NewUserModel(mongo *dbs.MongoModel) UserDAO {
	return &userModel{db: mongo}
}
